//
//  YMPDFCatalog.h
//  TestDemo
//
//  Created by fantasy on 16/6/26.
//  Copyright © 2016年 goappbox. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>

@interface YMPDFCatalog : NSObject
- (instancetype) init NS_UNAVAILABLE;
- (instancetype) initWithDictionary:(CGPDFDictionaryRef)dictionary NS_DESIGNATED_INITIALIZER;
- (instancetype) initWithObject:(CGPDFObjectRef)object name:(NSString *)name NS_DESIGNATED_INITIALIZER;

@property (nonatomic, strong, readonly) NSString *name;
@property (nonatomic, assign, readonly) CGPDFObjectType type;
@property (nonatomic, strong, readonly) NSString *typeString;
@property (nonatomic, strong, readonly) NSString *value;
//@property (nonatomic, strong, readonly) NSBitmapImageRep *image;
@property (nonatomic, strong, readonly) NSArray *children;
@property (nonatomic, strong, readonly) NSAttributedString *info;

@end
